<include file="../Public:header" />
<script type="text/javascript" src="__PUBLIC__/js/jquery/ui/ui.slider.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery/ui/ui.datepicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery/ui/timepicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery/ui/i18n/jquery-ui-i18n.js"></script>

<if condition="$act eq 'list'">
<script type="text/javascript">
$(document).ready(function(){
	parent.showButton("change");
}); 
function doButton(btn) {
    if(btn == "change"){
    	$.post("__URL__/index_act/act/change/act_submit/1", $("#form").serialize(),function(data){
   			eval("var dataJ = " + data);
			alert(dataJ.message);
			location.href="__URL__/index"
   		});
	}
}
</script>
  <div class="content" style="min-height:50px;">
    <form action="__URL__/index_act/act/change" method="post" enctype="multipart/form-data" id="form">
      <table class="form">
        <tr>
          <td>原密码：</td>
          <td><input type="password" name="password" value="" /></td>
        </tr>
        <tr>
          <td>新密码：</td>
          <td><input type="password" name="password1" value="" /></td>
        </tr>
        <tr>
          <td>重复密码：</td>
          <td><input type="password" name="password2" value="" /></td>
        </tr>
      </table>
    </form>
  </div>
<elseif condition="$act eq 'edit'"/>
	<include file="index_edit"/>
</if>
<include file="../Public:footer"/>